#输出前五十中的偶数，奇数，质数和能同时被2和3整除的数
for i in range(50):
    if(i%2==0):
        print(i)

for j in range(50):
    if(j%2!=0):
        print(j)

for k in range(50):
    if(k%2==0 and k%3==0):
        print(k)
        
num=[]
i=2
for i in range(2,50):
   j=2
   for j in range(2,i):
      if(i%j==0):
         break
   else:
      num.append(i)
print(num)
